package com.certification.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author copa
 * @createDate 2022-03-29 0:08
 * @function
 */
@Data
public class CertificationVO {

    private Integer id;

    @ApiModelProperty("申请者id")
    private Integer principalId;

    @ApiModelProperty("认证级别：1-一级认证 2-二级认证 3-三级认证")
    private Integer certLevel;

    @ApiModelProperty("认证专业类")
    private String certProfessionType;

    @ApiModelProperty("开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT + 8")
    private LocalDateTime startTime;

    @ApiModelProperty("认证阶段：1-认证申请 2-专业自评 3-进校考察 4-结论认定 5-整改提高4这个值我废弃掉，如果判断成功请根据\"xxx\"（待定接口）进行调用 默认为1")
    private Integer certStage;

    @ApiModelProperty("认证结果：1-认证中、2-通过、3-驳回 默认为1")
    private Integer certStatus;
}
